package com.iring.domain.config.prop;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 短信配置属性
 *
 * @author wanggan
 */
@Component
@ConfigurationProperties(prefix = "com.zycoo.sms")
public class SMSProperties {

    private String apikey;

    private String accountSid;

    private String authToken;

    private String sendFrom;

    private String tipMsg;

    @Override
    public String toString() {
        return "{apikey:" + apikey + ",accountSid:" + accountSid + ",authToken:" + authToken
                + ",sendFrom:" + sendFrom + ",tipMsg:" + tipMsg + "}";
    }

    public String getApikey() {
        return apikey;
    }

    public String getAccountSid() {
        return accountSid;
    }

    public String getAuthToken() {
        return authToken;
    }

    public String getSendFrom() {
        return sendFrom;
    }

    public String getTipMsg() {
        return tipMsg;
    }

    public void setApikey(String apikey) {
        this.apikey = apikey;
    }

    public void setAccountSid(String accountSid) {
        this.accountSid = accountSid;
    }

    public void setAuthToken(String authToken) {
        this.authToken = authToken;
    }

    public void setSendFrom(String sendFrom) {
        this.sendFrom = sendFrom;
    }

    public void setTipMsg(String tipMsg) {
        this.tipMsg = tipMsg;
    }
}
